Skip to content

Add userClaim field to custom moderation request schema#3224

Merged
AndyTWF merged 2 commits intomainfrom
claude/add-userclaim-moderation-api-tiTWZ
Mar 13, 2026
Merged

Add userClaim field to custom moderation request schema#3224
AndyTWF merged 2 commits intomainfrom
claude/add-userclaim-moderation-api-tiTWZ

Conversation

@AndyTWF
Copy link
Copy Markdown
Contributor

@AndyTWF AndyTWF commented Feb 24, 2026

Description

This PR updates the custom moderation request JSON schema documentation to include a new userClaim field. The field is added as an optional string parameter at the root level of the request object, alongside the existing headers field.

This change documents a new capability in the custom moderation API that allows users to specify a user claim for moderation requests.

Checklist

https://claude.ai/code/session_01L4p6WChnatqPVHnQVH3kS5

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 24, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 8e6564b4-fd6b-4025-94e3-3f8f2964c888

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch claude/add-userclaim-moderation-api-tiTWZ
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can scan for known vulnerabilities in your dependencies using OSV Scanner.

OSV Scanner will automatically detect and report security vulnerabilities in your project's dependencies. No additional configuration is required.

@AndyTWF AndyTWF requested a review from splindsay-92 February 24, 2026 09:08
@AndyTWF AndyTWF marked this pull request as draft February 24, 2026 09:08
@AndyTWF AndyTWF marked this pull request as ready for review March 13, 2026 08:58
@AndyTWF AndyTWF enabled auto-merge (squash) March 13, 2026 08:58
@AndyTWF AndyTWF force-pushed the claude/add-userclaim-moderation-api-tiTWZ branch from 4c04889 to bf02eaa Compare March 13, 2026 08:58
@AndyTWF AndyTWF merged commit 3a76923 into main Mar 13, 2026
7 checks passed
@AndyTWF AndyTWF deleted the claude/add-userclaim-moderation-api-tiTWZ branch March 13, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants